export const role = [
    {
        title: 'All',
        key: '1',
        expanded: true,
        checked: false,
        children: [
            {
                title: 'Data Visualization',
                key: '1-1',
                checked: false,
                children: [
                    { title: 'Overall', key: '1-1-1', isLeaf: true, checked: false },
                    { title: 'Incident Analytics', key: '1-1-2', isLeaf: true, checked: false },
                    { title: 'Traffic Analytics', key: '1-1-3', isLeaf: true, checked: false },
                    { title: 'Equipment Analytics', key: '1-1-4', isLeaf: true, checked: false }
                ]
            },
            {
                title: 'Dissemination Management',
                key: '1-2',
                isLeaf: true,
                checked: false
            },
            {
                title: 'Traffic Management',
                key: '1-3',
                checked: false,
                children: [
                    { title: 'Traffic Alert', key: '1-3-1', isLeaf: true, checked: false },
                    { title: 'Incident Record', key: '1-3-2', isLeaf: true, checked: false },
                    { title: 'Incident Logs', key: '1-3-3', isLeaf: true, checked: false }
                ]
            },
            {
                title: 'Equipment Management',
                key: '1-4',
                isLeaf: true,
                checked: false
            },
            {
                title: 'Security Management',
                key: '1-5',
                isLeaf: true,
                checked: false
            },
            {
                title: 'Data Management',
                key: '1-6',
                isLeaf: true,
                checked: false
            },
            {
                title: 'User Management',
                key: '1-7',
                checked: false,
                children: [
                    { title: 'Manage Users', key: '1-7-1', isLeaf: true, checked: false },
                    { title: 'Manage Role', key: '1-7-2', isLeaf: true, checked: false }
                ]
            },
            {
                title: 'Log Management',
                key: '1-8',
                isLeaf: true,
                checked: false
            }
        ]
    }
];

export const RoleTree = [
    {
        title: 'All',
        key: '1',
        description: 'Full access',
        checked: false
    },
    {
        title: 'Data Visualization',
        key: '1-1',
        description: 'Data Visualization authority',
        checked: false
    },
    {
        title: 'Overall',
        key: '1-1-1',
        description: 'Overall authority',
        checked: false
    },
    {
        title: 'Incident Analytics',
        key: '1-1-2',
        description: 'Incident Analytics authority',
        checked: false
    },
    {
        title: 'Traffic Analytics',
        key: '1-1-3',
        description: 'Traffic Analytics authority',
        checked: false
    },
    {
        title: 'Equipment Analytics',
        key: '1-1-4',
        description: 'Equipment Analytics authority',
        checked: false
    },
    {
        title: 'Dissemination Management',
        key: '1-2',
        description: 'Dissemination Management authority',
        checked: false
    },
    {
        title: 'Traffic Management',
        key: '1-3',
        description: 'Traffic Management authority',
        checked: false
    },
    {
        title: 'Traffic Alert',
        key: '1-3-1',
        description: 'Traffic Alert authority',
        checked: false
    },
    {
        title: 'Incident Record',
        key: '1-3-2',
        description: 'Incident Record authority',
        checked: false
    },
    {
        title: 'Incident Logs',
        key: '1-3-3',
        description: 'Incident Logs authority',
        checked: false
    },
    {
        title: 'Equipment Management',
        key: '1-4',
        description: 'Equipment Management authority',
        checked: false
    },
    {
        title: 'Equipment List',
        key: '1-4-1',
        description: 'Equipment List authority',
        checked: false
    },
    {
        title: 'Equipment Alarm',
        key: '1-4-2',
        description: 'Equipment Alarm authority',
        checked: false
    },
    {
        title: 'Security Management',
        key: '1-5',
        description: 'Security Management authority',
        checked: false
    },
    {
        title: 'Data Management',
        key: '1-6',
        description: 'Data Management authority',
        checked: false
    },
    {
        title: 'User Management',
        key: '1-7',
        description: 'User Management authority',
        checked: false
    },
    {
        title: 'Manage User',
        key: '1-7-1',
        description: 'Manage User authority',
        checked: false
    },
    {
        title: 'Manage Role',
        key: '1-7-2',
        description: 'Manage Role authority',
        checked: false
    },
    {
        title: 'Manage Access Right',
        key: '1-7-3',
        description: 'Manage Access Right authority',
        checked: false
    },
    {
        title: 'Manage Organization',
        key: '1-7-4',
        description: 'Manage Organization authority',
        checked: false
    },
    {
        title: 'Log Management',
        key: '1-8',
        description: 'Log Management authority',
        checked: false
    }
];
